package com.osp;

import java.util.ArrayList;
import java.util.List;

import com.osp.model.Employee;

public class EmployeeListReport {

	public List<String> getEmployeeList(ProjectManager pm) {

		List<String> employeeNames = new ArrayList();
		List<Employee> emlopyeeList = pm.getEmployees();
		for (Employee employee : emlopyeeList) {
			employeeNames.add(employee.getName());
		}
		return employeeNames;
	}
}
